package com.aopcinemas.cinema.ontology;

import jade.content.onto.BeanOntology;
import jade.content.onto.BeanOntologyException;

public class CinemaOntology extends BeanOntology {

    private static final long serialVersionUID = 1L;

    public static final String NAME = "cinema-ontology";

    private static final CinemaOntology _instance = new CinemaOntology();

    private CinemaOntology() {
        super(NAME);
        try {
            add("com.aopcinemas.cinema.model");
            add(GetScheduleList.class);
            add(OrderRequest.class);
        } catch (BeanOntologyException e) {
            throw new RuntimeException(e);
        }
    }

    public static CinemaOntology getInstance() {
        return _instance;
    }

}
